/*
 * @Author: your name用户模块
 * @Date: 2022-01-21 16:18:12
 * @LastEditTime: 2022-01-21 16:40:18
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \eribbit-client-pc\src\store\modules\user.js
 */
export default {
  namespaced: true,
  state () {
    return {
      // 用户信息
      profile: {
        id: '',
        avatr: '',
        nickname: '',
        account: '',
        mobile: '',
        token: ''
      }

    }
  },
  mutations: {

    setUser (state, payload) {
      state.profile = payload
    }
  }

}
